Removed unnecessary puts statements.