Changed the header style into a function.