refactor. support arrays of strings again