divide into two variables, and add new method appendToUrl(String[] queryStrings)