generate formatter instead