renamed blk as block
renamed nblk as nblock