added dictionary and autocomplete features