more general mock number generator