Added index to table