added some more debug output