adding indexes to tables