added function extractTriaFactes