adding the q= parameter to select by query