implemented outcome support
formatting fixes