inserting only if there are tiems to isnert