rename result to result_spec
rename result to result_spec