card comparer working