readjusting pointers.