write to win