added examples for vectors