add: replica set support