fix identation and added footer