updated string formatting for PEP3101