tiny improvement on the index, just getting my hands back in the code