you can actually skip this check entirely. Just leave the `for _, q := range v.queries` loop below. It works with nil and 0-length slices. That will remove an indent level and make this code easier to grok.