added basic hash vectorizer