Got addToDictionary working.