added global entity and background