Remove commented code. Only need one final_compare function now.