moved vocabulary to shared code