win detector

doesnt work yet