Tweaked the sample code to more accurately represent the docs