adds headers to table