added ranged uniform number generator