core-query-loop-block-example