Also, you're missing an `sprintf` at this line