Made headerString functional