Fixing logic to replace the data or create a new array. This needs to
be flowed back into the dataCheck() mat hod.