added conversion routine to editor