Removing debugging printf; Adding some comments