change vector to private