changed view to class view