inserting data as intervals added