add categories to the view