ethod to add categories