Moving away from a mutable Struct with the use of iterators.