adding window cross communication