The earliest records in Old Tamil are short inscriptions from around the 6th century BCE in caves and on pottery. These inscriptions are written in a variant of the Brahmi script called Tamil Brahmi. The earliest long text in Old Tamil is the Tolkāppiyam, an early work on Tamil grammar and poetics, whose oldest layers could be as old as the 2nd century BCE. A large number of literary works in Old Tamil have also survived. These include a corpus of 2,381 poems collectively known as Sangam literature. These poems are usually dated to between the 1st and 5th centuries CE, which makes them the oldest extant body of secular literature in India. Other literary works in Old Tamil include two long epics, Cilappatikāram and Maṇimēkalai, and a number of ethical and didactic texts, written between the 5th and 8th centuries.