refactoring of paperHeader - WIP