The way in which the Torah divides the discussion about Sukkot is somewhat surprising: part of it is included in the portion dealing with the festivals, and the rest is included afterwards as a sort of addendum. An analysis of the text reveals that the days of Sukkot are the epitome of all the festivals of the year, and the joy of these days is the culmination of the joy of all the festivals.