changed from using dictionary to IDictionary. Coding against the interface instead of the implementation.