adding index with link