added new smoothness feature