tweaks and smoothing