added lua5.2 wrapper