adding the delete option to the task