Use modern format function