added ontopreplica, but it's incomplete