upgraded zei/zij classifier