can't finish the todo demo,can't find the bugs in the uncompleted code