Add example that outputs vector