recognize query strings