random generator. code modification.