removed extraneous echo statements