adding class to title.