added ability to complete tasks