for getAndSetListItems() and crossOffListItem() functions put the both into one big function with a global variable or pass a variable from one function to the next