agree, while getChildren() isn't very expensive, it could be optimized at the expense of a local assignment... but its a minor optimization IMO.