adding view classes as well