type comes first, then the interval.