additional work on the lua interop