removed extraneous print commands