created an index