Adapt examples to new list functions