starting to create window