added print statements