add basic random number generator