Passing block to yield