Updated description of heading function