refactored formatters