Add debug statement
Fix printer