add ability to complete tasks (plus test)