random qds generator