index to class view