added ability to complete a task