move internal functions to bottom of Vector file