use region.r and region.l in example.