change header layout and add library