should we update the example w/ the new (optional) API?