base for window creation