should get rid of the index directive once and for all