incapsulate variable from lua