working vector example