Converted % syntax to format().