``var`` is missed so ``shim`` is in global scope :(