apparently finished rng stuff