integrating lua