replaced % operator with .format()