added header footer and stuff