generate tab headers