add some more debug statements