improved comparisonActivity