add example of using the custom types library