changes for non-randomness