split up get_data_url