vector internal improvements