added replica set creation