removed errors, and puts