nested generation headers