fixed index counter