add a block parameters to method