Moving sample back to using async function declaration