small mod on index