use lambda syntax from ruby 1.9