random: added a random driver interface