adding a class to views