generates single part with header and footer