rearrange source
remove triples