working on basic vector