removed puts lines from debugging