left some puts in the code