Monotone functions and discontinuities.