kept working on delete function