removed extra debugging print statements