created delete method