Working through inheritance chapter