pulled out display table from header and footer