added pass by reference exercise