added single column chi2class and made anesthetic more robust