removed extraneous print statements