further pull out header from index to layout