simplify calculation
make the index active