Updated the description for the heading function