Why the extra ´extension´ variable and no direct assignment? I see that as not necessary.