WriteDictionary() added