changed header footer structure