continued writing lua wrap a little bit