add the new converter method. bugs not fixed yet.