Removing extraneous puts statement