conv style to class