added footer and reformatting