add new window statement of pear (win = Window())