You could use instrafces from <random>, maybe