Conversion works for different codes