took out superfluous puts statements