use variable to contain the url