Creating and using a custom converter