add inheritance.lua