add the_result variable