what is the balance, when to use sprintf and when to do this?