added discontinuity

I think this is all that was needed for discontinuity.