updated replicationFactor usage