refactored common code to set header text colour
updated documentation for new methods