rewriting the index a bit
a bit more index formatting