Removed several print statements