worked on ToDoList class