implementing luajit