context's random generator implemented.