The evolution of Old Tamil into Middle Tamil, which is generally taken to have been completed by the 8th century, was characterised by a number of phonological and grammaticalchanges. In phonological terms, the most important shifts were the virtual disappearance of the aytam, an old phoneme, the coalescence of the alveolar and dental nasals, and the transformation of the alveolar plosive into a rhotic. In grammar, the most important change was the emergence of the present tense. The present tense evolved out of the verb ', meaning "to be possible" or "to befall". In Old Tamil, this verb was used as an aspect marker to indicate that an action was micro-durative, non-sustained or non-lasting, usually in combination with a time marker such as '. In Middle Tamil, this usage evolved into a present tense marker – – which combined the old aspect and time markers. From the period of the Pallava dynasty onwards, a number of Sanskrit loan-words entered Tamil, particularly in relation to political, religious and philosophical concepts. Sanskrit also influenced Tamil grammar, in the increased use of cases and in declined nouns becoming adjuncts of verbs, and phonology. The forms of writing in Tamil have developed through years. The Tamil script also changed in the period of Middle Tamil. Tamil Brahmi and Vaṭṭeḻuttu, into which it evolved, were the main scripts used in Old Tamil inscriptions. From the 8th century onwards, however, the Pallavas began using a new script, derived from the Pallava Grantha script which was used to write Sanskrit, which eventually replaced Vaṭṭeḻuttu. Middle Tamil is attested in many inscriptions, and in a significant body of secular and religious literature. These include the religious poems and songs of the Bhakti poets, such as the Tēvāram verses on Shaivism and Nālāyira Tivya Pirapantam on Vaishnavism, and adaptations of religious legends such as the 12th century Tamil Ramayana composed by Kamban and the story of 63 shaivite devotees known as Periyapurāṇam. Iraiyaṉār Akapporuḷ, an early treatise on love poetics, and Naṉṉūl, a 12th-century grammar that became the standard grammar of literary Tamil, are also from the Middle Tamil period. There is a famous saying translating to "He whose heart is not melted by Thiruvasagam cannot be melted by any vasagam". The Thiruvasagam is composed by Manikkavasagar