add triplet embeddings