event listener added to win