added header, footer and minor details