dictionary class