Removed print statements from the program