changed add_url to get_key