Using Sets instead of lists, unstable