better query template
first baby step towards list-at-a-time rewrites
fix '@x cut-out' with 'listeval' for first element
get rid of funky 'type' param