Successful use of proper coding of 2 windows