added const to primitive arguments in RNGs
took { off own line