added dictionary for vocab and also added to interface