added live insert mode