print statements fixed