corrected version of "populate column headers"