start generating header in page for func