Work on rust port, lua makes me uncomfortable