handle multiple Windows