Removing sprintf