working on vector