realize lua block module