make the sampling_period property settable