Added index with a button