Adding a bunch of debug statements