made some changes to comparisonActivity