inherit main parent