added examples of using vectors