Made some attempts at tuning and smoothing.