Making header functional