Fixed it to pass by reference