removing puts statement