refactoring: FormatString simplified