wrap region in pair
more ruby customizations