copy-paste error given the next example uses a smart ptr type that has a .get() to get the actual pointer.