headerIn and headerOut