working qvm and speedup