modified the ReplicaVector setup