Changes to smooth method