removed some puts lines