sets' elements are now stored in ArrayLists