rand and proxy