added a delete function