And then you'll know when it's done when the top is all nice and golden-brown and when you insert a knife into the center, the potatoes are nice and soft and tender.
Now, we can change the order and put the result before the condition, and throw in a bit of " if" and " when" and " unless" right there in the middle just to mix things up, mix the bowl up.