Using a Set instead of a List