start work on replica set support