added first draft of formatter