implement deleteCategory