adding a pointer