change random number to string as code