Adding some debug statements