inherit object