add code to header