put top_index header in helper file
merge