Updating to use a mutable array for working with the object.