He also wrote a Divan containing 50,000 distichs and six Mathnawis. His surviving "divan" extends to 18,000 distichs. All are written in Leonine hexameter except "Gongolph", which is written in rhymed distichs. The "Distichs of Cato" was most commonly referred to as simply "Cato". The students studied Distichs of Cato and "Ars grammatica" by Aelius Donatus. His "Divan" is said to have contained 30,000 distichs, of which only 2500 remain today. His "diwan" comprises 1,500 "ghazals", 119 "tuyughs", and a few distichs. According to Ferdowsi himself, the final edition of the "Shahnameh" contained some sixty thousand distichs.