insert_interval complete