working dictionary generation