some work on smoothing transition