compare method now does final total