Add footnotes style and less refactoring