parameterized the base url