QC Report #1, adding index function