Could you please use braces here as per coding conventions? Also, why are you missing `sprintf` and string interpolation? I think it would be better just to use sprintf.