vector class submmitted version