updated examples to use new --element-of syntax