base statistics class