fixing up some methods in the ToDoList class