removed diagnostic puts messages