passing block.