improvements to smoothness