get header function created