Revised syntax for sprintf