Removed some print flags. Added some comments.