reformatting portfolio index