refactored and added footnote prototype