made url dynamic