add equilibrium state for lua