adding pointer problems