get_url method implemented