Todo list working (the wrong way)