core component (rng). session code.