better socket pattern of moving the pointer