added sum comparisons in table