Keep win specific code only