added insertInterval