windows version works but speed up is poor