#345 Add random with seed support