added headers, footers, etc a lot