put an index