adds todo, latest solution not working