added class to view