moved doc pointer