IPA converter code