Return the sprintf directly, instead of reusing a variable