Add random number generator for later use.