added a couple of print statements