Abstracted random number generator out