renamed global variables for url parameters