retactoring ISimpleDictionaty