adding ruby block