added delete category code