added functionality for header tags