Fold in the gradient