passing block to new