some experimenting with length array