Added originalIndex documentation