got some kind of inheritance working