i would put that as a docstring on the `def index`