add stub function to create the window