to do : finish implementation of the conversion.