changed print statements