try to export closure (not done) . remove unused compiledCode() interface