modified for single cpu, vtx off (test)