Seems to use indices properly.