adding task details and deletion