Merged the vector example