working example of TodoList