support of intervals (not yet full)