Another attempt at making header work