added Query-based footnote and solution displays