removed invalid puts statements