add middle part with headers