reformat while in insert