before new smoothing algo