updated the description of degree()/ldegree()