Since independence in 1957, Malaysia has been transformed from a commodity-based economy focusing on rubber and tin to one of the world's largest producers of electronic and electrical products, and it is the world’s second largest exporter of palm oil, and one of the region’s major oil and gas exporter. According to key development indicators, Malaysia is now a high middle-income, export-oriented economy, with per capita GDP (in current prices) of US$10,085 in 2012, life expectancy of 74 years and gross primary school enrolment of 100 percent of the school-age population.