Use list to avoid "TypeError: 'set' object does not support indexing"