lua tables and inheritance