setting up header footer nag etc.