add dict cache