[1]create Main window