new query/scan examples