Title: Stability of ternary hydrides and some applications