example: how to add custom type conversion