new formatter and cleanup