performance improved: RNG issue