set up three sections and header