creating index with citations