In Malaysia, Malay and English are taught as compulsory languages from the first year of primary school with the exception of publicly funded vernacular schools (known as national type schools). In the latter, either Mandarin or Tamil are taught as additional compulsory languages. In non-vernacular schools, all subjects with the exception of the sciences and mathematics are taught in Malay. In vernacular schools, all subjects with the exception of the sciences and mathematics are taught in the primary language that is used in the respective schools. The sciences and mathematics are taught in English, although some Mandarin vernacular schools have dispensation to teach those subjects concurrently in Mandarin.