use pointer to the first element for length different array elements (wip)