removed atrocious pile of print statements