length is unused