dict works