Ok when i pass my array to another class it modifies the array. i am not sure why. I get the value of the array from a class and then i pass the value of the array to a different class. when i then modify the values in the class it changes the original values of the array. Hope that makes sense.