begin add contingency table