for loop through various headers