Add example with array