From there Wang Daiyu wrote Zhengjiao zhenquan (A Commentary on the Orthodox Faith), while his successor, Liu Zhi, translated Tianfang xingli (Islamic Philosophy) Tianfang dianli (Islamic Ritual) and Tianfang zhisheng shilu (The Last Prophet of Islam). Another scholar, Hu Dengzhou started a rigorous Islamic school in Nanjing, which taught hadith, the Qur'an, and Islamic law. The school grew into a fourteen-course system, with classes in Arabic and Persian.