modified the dictionary