Futher development of insert.c