Understanding how this works