autoForeignEntt