testing pass by ref