index counter done