work on compmove loop and set parameters for win