added some print statements