updated so that all items are read in, stored, and a random list is generated