Removed the array enumerator in favor of iterating directly over the cpu collection. (forEach was breaking when it was trying to use an enumerator)