length of strings in an array done