added feature vector function, for realz