complete getting feature vector part