deleted lots of print statements