adding pointer