added discontinuity