add task-delete function