add window scope