added new functionality to class view