getBlockID -> getBlockIndex