starting the `indices` functions, fix spec.