simplifying header footer