remove this and add an index directive