user can undo completed todos and they return to todolist, completed section disappears when last completed todo is undone, named functions to enhance readability of code