added blockIndex computations