rename result into outcomeUi