Remove unnecessary puts in method