adding indexes