added code for win testing