check for ne array length