added much functionality to header