use set instead of list for unique values