Learning inheritance