Swift: index system added in Options