Code cleanup.
Clean up code.
Do not override the rnd settings.