inheritance and objects.