modifing the blockinfo code.