remove print_diff_result function