Added win checking