simplify use of a formatter