insert interval, should be careful with each detail