got index replication protocol working