Removed print statements that were used for debugging.