Use ruby block