param names cleanup
properly initialize rng