almost done with inheritance homework