smoothed out centering