update cl examples to new interface