Added existing todo list logic