add window init