continuous instead of differentiable