added deleting of categories