this may fix the array passed by reference error