lua stack integration