changed structure in header and footer