working vector demo