removed indexing to save on memory