new example with graphics