Added sprintf_ function to save 20kb of space