saving parameters in regions functioning