removed print statements to help me debug