refactor header for ducf stuff