This passage can be divided into three parts: the introduction (1-5), the genealogy of the Levite families (6-23), and the tasks of the Levites (24-32). By clearly distinguishing the roles of the Levites from those of the priests, the Chronicler emphasizes two new Levitical functions: the gatekeepers (28ff) and the singers (30ff). Singing is so important that verse 5 even attributes the construction of musical instruments to David. There is no issue with the census of the Levites, as it does not result from a temptation of Satan but is necessary for the service of the Temple.
