Wow! My brain hurts trying to figure out how this must work.