delete method finished