updated todo list with functions