implementing the Header sub-application