refactor Compiler.createBinding