added event window init creation