vector code