changing storing of triples