Putting debug statements in
Now prints out properly