testing different array handling