removed puts lines