removed test puts statements