fixed code- had accidentally commented puts statement