Removed print statements used for debugging