moving reference to baseURL out of strings and into a variable, as much as possible