tiny tweaks for smoothing