Refacotr header bar code