Discontinuity lines basically working