added two more debug messages