made label headings dynamic