fixing rng; wip towards working sd stats