added global compositing