contigency table class
small changes