added lua and psuedo