converting to core- and paper-elements (unfinished)