These were the working groups of the gatekeepers among the sons of the Korahites and among the sons of Merari.