done 1st version of index for submission