implement Lua binary code #5