The serotonin nuclei may also be divided into two main groups, the rostral and caudal containing three and four nuclei respectively. The rostral group consists of the caudal linear nuclei (B8), the dorsal raphe nuclei (B6 and B7) and the median raphe nuclei (B5, B8 and B9), that project into multiple cortical and subcortical structures. The caudal group consists of the nucleus raphe magnus (B3), raphe obscurus nucleus (B2), raphe pallidus nucleus (B1), and lateral medullary reticular formation, that project into the brainstem.