adding a bit more debug output