adding ruby block.proc concepts