// insert table header if required
// main content