add random number generator function; Add function using_overwrite_once;