added a couple more debug messages