remove `puts`

remove all `puts` from the code