added triplet solver - BenP