New sample for v2 of the API, using new SDK