add streamlined random number generator