trying to figure out what's wrong with todo list