add pointer vs. ref