piecewise
not defined yet