vector code updates