earning the inheritance