adding category and sub category