I fixed the add to header function