copy of resto2 header