added header conditional