add result and wait_for_result options