updated print statements to use .format