removed the unnecessary puts