working on DictionaryRepresentation