smoothed out some transitions