What happens in a spin measurement