add method to delete entity