- refactor indexes into its own value
- refactor indexes into a set