add an example which requires a typemap