Revert "removed duplication between header and index file"

This reverts commit 21ae29988202c2ffce413b55cde3db076fc1d309.