made first consistent between string and array