diagram and footer