result_text and result_code added inferences