what happens when something like <code>list.add_task</code> is called?