add conversion routine