Adding Vector Code