added FOOTNOTE function (not so stable)