extract replication from quorum and simplify