making url dynamic