create a decent working version of the formatter