starting to implement inheritance