made a delete method