add smoothness diagram