working on class view