As the first chief disciple, Śāriputra's role was the systematization and analysis of the Buddha's teachings. The Buddhist canon often shows Śāriputra asking the Buddha questions and entreating the Buddha to teach, as well as himself clarifying points and questioning disciples, in some cases seemingly to test the knowledge of fellow disciples. The Buddha would often suggest a topic and have Śāriputra elaborate and deliver a sermon on it. In two discourses recorded in the Tripitaka, the "Dasuttara Sutta" and the "Saṅgīti Sutta", the Buddha declared he needed to rest his back, and had Śāriputra teach in his place while the Buddha listened in the audience. His ability to teach the Dharma earned him the title of "General of the Dharma" (Sanskrit: "Dharmasenapati"). Buddhist texts indicate that Śāriputra still had some flaws, however. In the "Catuma Sutta", when a group of young monks made noise and were ordered by the Buddha to leave, the Buddha reprimanded Śāriputra for not concluding that it was the chief disciples' responsibility to look after the monks, something Maudgalyāyana was able to conclude. On another occasion the Buddha reprimanded Śāriputra for teaching the dying "brahmin", Dhanañjani, in a way that led him to rebirth in the Brahma realm rather than teaching in a way that led to enlightenment.