compare_results modified