add pointers example