testing for remove all and add an array of categories for category list