I think you could probably just create a slice of the headers and then loop over that if you wanted to make this less annoying.