making url more generic