added random_url() method