Small experiment with inheritance