to class style