removed debugging print statements