Energy production is also a crucial part of the local economy. Railways were planned to cover continental Argentine Patagonia to serve the oil, mining, agricultural, and energy industries, and a line was built connecting San Carlos de Bariloche to Buenos Aires. Portions of other lines were built to the south, but the only lines still in use are La Trochita in Esquel, the Train of the End of the World in Ushuaia, both heritage lines,[58] and a short run Tren Histórico de Bariloche to Perito Moreno.