Insert Interval refactor