Add inherit example