adding footer to table