Added vector insertion using reference