removed extraneous print statements.