Code style - use sprintf instead of %