updated exercise
todo list with functions