implemented day_change_thres