use entropy device and seed rng properly