use v2 query in embedded example