putting inheritance into the mix