Removed unnecessary print statements.