let length be set multiple times.