removed print statements used for testing