Attempt at performing the index (nonfunctional).