removed print statements