autoinsert mode added