Code samples from the quickstart guide