making lua do what it shouldn't: typesafe structs

it should though