Moved certain fns RandomRNG -> State