more debug messages added