vm-train modified