Add createVector in another place.