mw for getting blockId