added url templating