added task-delete function