adding pass by value/reference example