I picked up a great trick from Zdeněk Pohlreich. Cook the spices with the vinegar and sugar separately.

So, into a small saucepan go allspice, bay leaf, water, sugar, vinegar (you need quite a lot of both), salt and any spare dill stalks. Bring to a simmer over a low heat, keep simmering and reduce.

In another saucepan, melt the butter and add the chopped onion. Sauté until translucent. We don't want any golden shades, we want it translucent, but don't take that to mean it's done in a minute. Just take your time sautéing, and if smaller bits of onion start turning golden, that's enough.

Sprinkle in the flour. Stir together a pale roux, cooking the flour briefly, without trying to toast it for 10 min as you would for goulash. Gradually pour in cold stock, whisking constantly. (Or water, but it must be cold so the roux doesn't go lumpy.) As we stir and pour, the liquid thickens and the flour dissolves. The result is a thin, watery consistency that won't catch on the bottom so easily. Strain into another saucepan. Add the onion and whatever is left in the sieve to the saucepan with the spices. Let it leave its flavour there.

To the other saucepan containing the strained soup, add a potato cut into smaller, ideally evenly sized pieces. Simmer until the potatoes are tender. (Tender, not falling apart.)

Then strain the contents of the second saucepan into this one. The magic is that as soon as we add the vinegar, the potatoes stop cooking and won't fall apart any further. That's why it helps to cook the spices with vinegar in a separate saucepan, because a common mistake is to add vinegar too early to undercooked potatoes, and then you can cook them for a week and they'll still be hard.

Now add the mushrooms to the soup; they don't need cooking for too long, 5 min is absolutely OK.

Taste. The flavour must be distinctly sour, ending with a sweet little aftertaste. It also needs to be salty enough. It's a sort of endless balancing act between sour, sweet and salty, actually reminiscent of Thai cooking in this respect. Don't be afraid to add vinegar and sugar at this stage if needed. In any case, cook off the vinegar.

Only then can you slowly pour in the cream, stirring constantly. Season with freshly ground black pepper. Bring back to a simmer and turn off the heat.

Stir in the chopped dill and save a few whole sprigs for garnish.

Beforehand or along the way, prepare a poached egg. Put water, vinegar and salt in a tall, narrow saucepan and bring to the boil. Then stir to create a whirlpool and crack an egg into the centre. The vinegar and whirlpool keep the white from spreading too far from the yolk. Cook until the white is set, but we want the yolk runny.

Ladle the soup into a deep plate, add the poached egg and a sprig of dill.