changed dictionaries from Arrays to DB Words