solve question: insert interval