changind start to measure_period_start