On 1 October 1893, the Mahāmakuṭa Royal Academy (Mahamakut Buddhist University) was opened. Vajirañana now could carry out his reforms concerning the study of Pali and the Dhamma. Vajirañana wrote a Pāli grammar and several textbooks. He also designed the university's curriculum. It consisted of secular subjects such as reading and writing Siamese, history, and some science beside religious studies and the preparation for the Pali exam, as the new academy also served the purpose of training monks to become teachers. In 1898, King Chulalongkorn ordered Prince Damrong and Vajirañana to find a possible solution for providing the whole country with a primary education. Due to the lack of money the solution was to let the educated monks be the teachers of the villages in the outer provinces. (This plan, however, was not further pursued after 1902.)