add an example using `getAdapterFor`