`$length` is never used?