removing extraneous print statements