add docstring to reset_pos function.