learn inheritances