No longer uses sets to store values, use list instead