changed print statements to make more sense