added header version function