Added debugging lines

Code doesn't work. I need to see if I can see what the problem is.