still trying to get it to work. added mutable arrays to add objects after enumeration