removed extra print statements