add title code to header