add footnotes support