support for random replica naive mode added