hange randomness based on version compatibility