added ability to complete task