add more debug messages