change puts statement