change index referencing method