updated to remove print statements