you could replace this with graph.triples I think