from mix to class