pop and header pop templates