lua and classes from lecture