embed tre library