added close diagnostic information