wrap random number generator in case we find something more intelligent than the build-in rand gen