add queries to a combination query with `queries` function