created delete function #22